﻿using System.Windows.Controls;
using Tp.Bootstrapper;
using Tp.Interfaces;

namespace Tp.Wpf.UserControlsStammdaten
{
	  /// <summary>
	  /// Interaction logic for DialogOrganisationUserControl.xaml
	  /// </summary>
	  public partial class DialogOrganisationUserControl : UserControl
	  {
			#region Properties
		private IViewModelLocator ViewModelLocator
		{
			get
			{
				return IoC.ServiceLocator.Get<IViewModelLocator>();
			}
		} 
		#endregion

		#region C-Tor
		public DialogOrganisationUserControl()
        {
            InitializeComponent();
			this.DataContext = ViewModelLocator.Main;
		}
		#endregion
	  }
}
